package com.bml.architect.alibaba.controller;

import com.bml.architect.alibaba.service.UserService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/pay")
public class PayController {



    @DubboReference(version = "default_1.0",protocol = "dubbo",group = "dubboG")
    private UserService userService;


    @RequestMapping("/get")
    public String getUser(){
        return userService.getUser();
    }



}
